package com.dlc.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dlc.shop.bean.model.Message;
import com.dlc.shop.dao.MessageMapper;
import com.dlc.shop.service.MessageService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 *
 * @author lgh on 2018/10/15.
 */
@Service
@AllArgsConstructor
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements MessageService {

    private final MessageMapper messageMapper;

    @Override
    public void deleteByIds(Long[] ids) {
        messageMapper.deleteByIds(ids);
    }

}
